home *** CD-ROM | disk | FTP | other *** search
- Path: anvil.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: String Encryption
- Date: 27 Feb 1996 08:56:56 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4gvd4oINNe5n@anvil.ugrad.cs.ubc.ca>
- References: <1996Feb21.101532.15110@es.dupont.com> <1996Feb21.174407.20730@newshost.micro.ti.com> <4ghq1u$sed@hpbblb.bbn.hp.com> <4gqc2l$4o7@usenet.rpi.edu>
- NNTP-Posting-Host: anvil.ugrad.cs.ubc.ca
-
- In article <4gqc2l$4o7@usenet.rpi.edu>,
- Ghost In The Machine <gentrj@cii3116-01.its.rpi.edu> wrote:
- >Matthias Dittrich (matti) wrote:
- >: >Malcolm Smart (MALCOLM.SMART@CONOCO.DUPONT.COM) wrote:
- >: >> Has anybody out there got any small routines that I can apply to strings
- >: >> which will effectively encrypt them (and decrypt!). It's not a matter of
- >: >> state security so it doesn't have to be that secure, just make it
- >: >> unreadable.
- >
- >: You also can use the crypt() function (see man 3 crypt).
- >
- >I could be wrong here (so please correct me if I am), but isn't
- >crypt() a one way encryption? I just checked man 3 crypt, and
- >found this:
-
- Yeah. That's just a phrase. There is no such thing as ``one way encryption''.
- Encryption means that the recipient of a message can recover the plaintext from
- the ciphertext. Better terms are ``hashing'' or ``message digest''. Calling the
- function crypt() is a little misleading, though everyone has grown accustomed
- to calling it encryption.
- --
-
-